package com.rede.didiok.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rede.didiok.common.utils.PageUtils;
import com.rede.didiok.common.utils.Query;

import com.rede.didiok.user.dao.SignInDao;
import com.rede.didiok.user.entity.SignInEntity;
import com.rede.didiok.user.service.SignInService;


@Service("signInService")
public class SignInServiceImpl extends ServiceImpl<SignInDao, SignInEntity> implements SignInService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SignInEntity> page = this.page(
                new Query<SignInEntity>().getPage(params),
                new QueryWrapper<SignInEntity>()
        );

        return new PageUtils(page);
    }

}